# Activate virtual environment
source venv/bin/activate

# Set environment variables
export FLASK_APP=app.py
export FLASK_ENV=development

# Start MongoDB (if not already running)
sudo systemctl start mongod

# Start Flask application
python app.py